package com.zz.study.sharding.entity;


import lombok.Data;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author xujunxia
 * @since 2023-11-02
 */
@Data
public class DatastreamProcess {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * 数据流表名
     */
	private String sourceType;
    /**
     * 过滤的字段名称
     */
	private String filterFieldName;
    /**
     * 字段类型
     */
	private String fieldType;
    /**
     * 作用于这个字段的算子（可以是数学符号，可以是方法签名）
     */
	private String operator;
    /**
     * 字段值
     */
	private String fieldExpectValue;
    /**
     * 创建时间
     */
	private Date createTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getSourceType() {
		return sourceType;
	}

	public void setSourceType(String sourceType) {
		this.sourceType = sourceType;
	}

	public String getFilterFieldName() {
		return filterFieldName;
	}

	public void setFilterFieldName(String filterFieldName) {
		this.filterFieldName = filterFieldName;
	}

	public String getFieldType() {
		return fieldType;
	}

	public void setFieldType(String fieldType) {
		this.fieldType = fieldType;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public String getFieldExpectValue() {
		return fieldExpectValue;
	}

	public void setFieldExpectValue(String fieldExpectValue) {
		this.fieldExpectValue = fieldExpectValue;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "DatastreamProcess{" +
			"id=" + id +
			", sourceType=" + sourceType +
			", filterFieldName=" + filterFieldName +
			", fieldType=" + fieldType +
			", operator=" + operator +
			", fieldExpectValue=" + fieldExpectValue +
			", createTime=" + createTime +
			"}";
	}
}
